@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --success-color: #2b9818;
    --error-color: #981818;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f9f9f9;
}

.container {
    width: 400px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 2px 2px 12px #ccc;
}

.form {
    padding: 30px 40px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

.form_control {
    position: relative;
    margin-bottom: 10px;
    padding-bottom: 20px;
}

.form_control label {
    display: block;
    color: #4d4d4d;
    margin-bottom: 8px;
}

.form_control input {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    border: 2px solid #f0f0f0;
    border-radius: 4px;
    outline-color: #e0e0e0;
}

.form_control small {
    color: var(--error-color);
    position: absolute;
    bottom: 0;
    left: 0;
    visibility: hidden;
}

.form button {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 20px;
    text-align: center;
    font-size: 16px;
    color: white;
    background-color: #184b98;
    border-radius: 4px;
    border: 2px solid #184b98;
    outline-color: #133b78;
    cursor: pointer;
}

.form_control.success input {
    border-color: var(--success-color);
}

.form_control.error input {
    border-color: var(--error-color);
}

.form_control.error small {
    visibility: visible;
}

